﻿using equinoxWeb.GestionConexion;
using equinoxWeb.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;

namespace equinoxWeb.Controllers
{
    public class HomeController : EquinoxController
    {
        public ActionResult Index()
        {
            bool sesion = true;
            if (defaultAction != null)
            {
                sesion = false;
            }
            ViewBag.sesion = sesion;
            return View();
        }
        public ActionResult About()
        {
            bool sesion = true;
            if (defaultAction != null)
            {
                sesion = false;
            }
            ViewBag.sesion = sesion;
            return View();
        }
        public ActionResult Staff()
        {
            bool sesion = true;
            if (defaultAction != null)
            {
                sesion = false;
            }
            ViewBag.sesion = sesion;
            return View();
        }
        public ActionResult Servicios()
        {
            bool sesion = (defaultAction == null);
            ViewBag.sesion = sesion;
            return View();
        }
        public ActionResult Enlaces()
        {
            bool sesion = (defaultAction == null);
            ViewBag.sesion = sesion;
            return View();
        }
        public ActionResult Contacto()
        {
            bool sesion = (defaultAction == null);
            ViewBag.sesion = sesion;
            return View();
        }

    }
}
